Skip to main content

Cucumber lets you write automated tests in plain language

+23 more platforms

Cucumber is a tool for running automated acceptance tests, written in plain language. Because they're written in plain language, they can be read by anyone on your team, improving communication, collaboration and trust.

Got 10 minutes?

Get up and running quickly with Cucumber on your technology stack.

Take the Tutorial

Want to go further?

Learn about Behaviour-Driven Development (BDD), the development process that Cucumber was built to support.

Learn about BDD
features/withdrawing-cash.feature
Feature: Withdrawing cash

Rule: Customers cannot withdraw more than their balance

Scenario: Successful withdrawal within balance
Given Alice has 234.56 in their account
When Alice tries to withdraw 200.00
Then the withdrawal is successful

Scenario: Declined withdrawal in excess of balance
Given Hamza has 198.76 in their account
When Hamza tries to withdraw 200.00
Then the withdrawal is declined